package com.zhufeng.jvm.classloader;

public class MyTest10 {

	public static void main(String[] args) {
		System.out.println(Child10.a);
		System.out.println("---------");
		Child10.print();
	}

}

class Parent10 {
	static int a = 10;
	
	static {
		System.out.println("Parent10 static block");
	}
	
	static void print() {
		System.out.println("Parent10 print");
	}
}

class Child10 extends Parent10 {
	static {
		System.out.println("Child10 static block");
	}
}